<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>7-Zip - 高效开源压缩工具 | 技术小馆</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/6.4.0/css/all.min.css">
    <link rel="stylesheet" href="https://cdn.staticfile.org/tailwindcss/2.2.19/tailwind.min.css">
    <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.min.js"></script>
    <style>
        body {
            font-family: 'Noto Sans SC', Tahoma, Arial, Roboto, "Droid Sans", "Helvetica Neue", "Droid Sans Fallback", "Heiti SC", "Hiragino Sans GB", Simsun, sans-serif;
            color: #333;
            line-height: 1.6;
        }
        h1, h2, h3, h4, h5, h6 {
            font-family: 'Noto Serif SC', serif;
            font-weight: 600;
        }
        .hero-gradient {
            background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
        }
        .card-hover:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }
        .feature-icon {
            font-size: 2.5rem;
            color: #3b82f6;
            margin-bottom: 1rem;
        }
        .mermaid-tooltip {
            display: none;
            position: absolute;
            background: white;
            padding: 0.5rem;
            border-radius: 0.25rem;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            z-index: 100;
        }
        .highlight {
            background: linear-gradient(120deg, #f0abfc 0%, #a5b4fc 100%);
            background-repeat: no-repeat;
            background-size: 100% 40%;
            background-position: 0 88%;
        }
    </style>
</head>
<body class="bg-gray-50">
    <!-- Hero Section -->
    <section class="hero-gradient text-white py-20 px-4 md:py-32">
        <div class="container mx-auto max-w-6xl">
            <div class="flex flex-col md:flex-row items-center">
                <div class="md:w-1/2 mb-10 md:mb-0">
                    <h1 class="text-4xl md:text-5xl font-bold mb-4 leading-tight">7-Zip<span class="highlight">高效压缩</span>解决方案</h1>
                    <p class="text-xl md:text-2xl mb-8 opacity-90">开源、免费、强大的文件压缩与解压工具</p>
                    <a href="https://www.7-zip.org" target="_blank" class="inline-block bg-white text-blue-600 hover:bg-gray-100 px-6 py-3 rounded-lg font-semibold transition duration-300 transform hover:scale-105">
                        <i class="fas fa-download mr-2"></i>立即下载
                    </a>
                </div>
                <div class="md:w-1/2 flex justify-center">
                    <div class="relative">
                        <div class="bg-white bg-opacity-20 rounded-2xl p-6 backdrop-filter backdrop-blur-md border border-white border-opacity-20">
                            <i class="fas fa-file-archive text-6xl md:text-8xl mb-4 opacity-90"></i>
                            <div class="flex space-x-2 mb-4">
                                <span class="inline-block bg-white bg-opacity-30 rounded-full px-3 py-1 text-sm">7z</span>
                                <span class="inline-block bg-white bg-opacity-30 rounded-full px-3 py-1 text-sm">ZIP</span>
                                <span class="inline-block bg-white bg-opacity-30 rounded-full px-3 py-1 text-sm">RAR</span>
                                <span class="inline-block bg-white bg-opacity-30 rounded-full px-3 py-1 text-sm">ISO</span>
                            </div>
                            <p class="text-white text-opacity-90">支持多种压缩格式</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Main Content -->
    <main class="container mx-auto max-w-6xl px-4 py-12">
        <!-- Features Section -->
        <section class="mb-20">
            <h2 class="text-3xl font-bold mb-12 text-center relative">
                <span class="inline-block relative">
                    核心功能
                    <span class="absolute bottom-0 left-0 w-full h-1 bg-gradient-to-r from-blue-400 to-purple-500 rounded-full"></span>
                </span>
            </h2>
            
            <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8">
                <div class="bg-white rounded-xl shadow-md p-6 transition-all duration-300 card-hover">
                    <div class="feature-icon">
                        <i class="fas fa-compress-arrows-alt"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3">超高压缩率</h3>
                    <p class="text-gray-600">独有的 <span class="font-bold text-blue-600">7z</span> 格式压缩率优于 ZIP 和 RAR，最高可节省70%存储空间。</p>
                </div>
                
                <div class="bg-white rounded-xl shadow-md p-6 transition-all duration-300 card-hover">
                    <div class="feature-icon">
                        <i class="fas fa-file-archive"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3">多格式支持</h3>
                    <p class="text-gray-600">解压/压缩 <span class="font-bold text-purple-600">ZIP、RAR、ISO、TAR</span> 等多种常见格式，满足各种需求。</p>
                </div>
                
                <div class="bg-white rounded-xl shadow-md p-6 transition-all duration-300 card-hover">
                    <div class="feature-icon">
                        <i class="fas fa-bolt"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3">轻量高效</h3>
                    <p class="text-gray-600">体积小巧（仅几MB），系统资源占用低，运行快速流畅。</p>
                </div>
                
                <div class="bg-white rounded-xl shadow-md p-6 transition-all duration-300 card-hover">
                    <div class="feature-icon">
                        <i class="fas fa-lock"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3">AES-256加密</h3>
                    <p class="text-gray-600">采用银行级加密标准，有效保护您的敏感文件安全。</p>
                </div>
            </div>
        </section>

        <!-- Use Cases Section -->
        <section class="mb-20">
            <h2 class="text-3xl font-bold mb-12 text-center relative">
                <span class="inline-block relative">
                    适用场景
                    <span class="absolute bottom-0 left-0 w-full h-1 bg-gradient-to-r from-blue-400 to-purple-500 rounded-full"></span>
                </span>
            </h2>
            
            <div class="bg-gradient-to-r from-blue-50 to-purple-50 rounded-2xl p-8 md:p-12">
                <div class="grid grid-cols-1 md:grid-cols-3 gap-6">
                    <div class="flex items-start">
                        <div class="bg-white p-3 rounded-full mr-4 shadow-sm">
                            <i class="fas fa-hdd text-blue-500 text-xl"></i>
                        </div>
                        <div>
                            <h3 class="font-bold text-lg mb-2">节省存储空间</h3>
                            <p class="text-gray-600">压缩大型文件，减少占用磁盘空间</p>
                        </div>
                    </div>
                    
                    <div class="flex items-start">
                        <div class="bg-white p-3 rounded-full mr-4 shadow-sm">
                            <i class="fas fa-cloud-download-alt text-purple-500 text-xl"></i>
                        </div>
                        <div>
                            <h3 class="font-bold text-lg mb-2">解压下载文件</h3>
                            <p class="text-gray-600">处理从网络下载的各种压缩包格式</p>
                        </div>
                    </div>
                    
                    <div class="flex items-start">
                        <div class="bg-white p-3 rounded-full mr-4 shadow-sm">
                            <i class="fas fa-shield-alt text-green-500 text-xl"></i>
                        </div>
                        <div>
                            <h3 class="font-bold text-lg mb-2">保护隐私文件</h3>
                            <p class="text-gray-600">加密私密文档和敏感数据</p>
                        </div>
                    </div>
                </div>
            </div>
        </section>

        <!-- Data Visualization -->
        <section class="mb-20">
            <h2 class="text-3xl font-bold mb-12 text-center relative">
                <span class="inline-block relative">
                    格式支持与比较
                    <span class="absolute bottom-0 left-0 w-full h-1 bg-gradient-to-r from-blue-400 to-purple-500 rounded-full"></span>
                </span>
            </h2>
            
            <div class="bg-white rounded-2xl shadow-md p-6">
                <div class="mermaid">
                    pie title 压缩率比较
                        "7z" : 40
                        "ZIP" : 25
                        "RAR" : 35
                </div>
            </div>
        </section>

        <!-- Tips Section -->
        <section class="mb-20">
            <h2 class="text-3xl font-bold mb-12 text-center relative">
                <span class="inline-block relative">
                    使用建议
                    <span class="absolute bottom-0 left-0 w-full h-1 bg-gradient-to-r from-blue-400 to-purple-500 rounded-full"></span>
                </span>
            </h2>
            
            <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
                <div class="bg-white rounded-xl p-6 shadow-md border-l-4 border-blue-500 transition-all duration-300 hover:shadow-lg">
                    <h3 class="font-bold text-xl mb-3 flex items-center">
                        <i class="fas fa-mouse-pointer text-blue-500 mr-3"></i>
                        右键快捷操作
                    </h3>
                    <p class="text-gray-600">直接在文件或文件夹上右键点击，快速选择压缩或解压选项，提高工作效率。</p>
                </div>
                
                <div class="bg-white rounded-xl p-6 shadow-md border-l-4 border-purple-500 transition-all duration-300 hover:shadow-lg">
                    <h3 class="font-bold text-xl mb-3 flex items-center">
                        <i class="fas fa-cut text-purple-500 mr-3"></i>
                        分卷压缩大文件
                    </h3>
                    <p class="text-gray-600">将大型文件分割成多个小压缩包，方便通过邮件或云存储传输共享。</p>
                </div>
                
                <div class="bg-white rounded-xl p-6 shadow-md border-l-4 border-green-500 transition-all duration-300 hover:shadow-lg">
                    <h3 class="font-bold text-xl mb-3 flex items-center">
                        <i class="fas fa-terminal text-green-500 mr-3"></i>
                        命令行支持
                    </h3>
                    <p class="text-gray-600">通过命令行接口实现批量处理和自动化脚本，满足高级用户需求。</p>
                </div>
            </div>
        </section>
    </main>

    <!-- Footer -->
    <footer class="bg-gray-900 text-gray-300 py-12">
        <div class="container mx-auto max-w-6xl px-4">
            <div class="flex flex-col md:flex-row justify-between items-center">
                <div class="mb-4 md:mb-0">
                    <h3 class="text-xl font-bold text-white mb-2">技术小馆</h3>
                    <p class="text-gray-400">分享实用的技术工具与资源</p>
                </div>
                <div>
                    <a href="http://www.yuque.com/jtostring" target="_blank" class="text-blue-300 hover:text-white transition duration-300">
                        <i class="fas fa-external-link-alt mr-2"></i>访问技术小馆
                    </a>
                </div>
            </div>
            <div class="border-t border-gray-800 mt-8 pt-8 text-center text-gray-500 text-sm">
                <p>© 2023 技术小馆. 保留所有权利.</p>
            </div>
        </div>
    </footer>

    <script>
        mermaid.initialize({
            startOnLoad: true,
            theme: 'default',
            fontFamily: 'Noto Sans SC, sans-serif'
        });
        
        // 简单的悬停效果
        document.querySelectorAll('.card-hover').forEach(card => {
            card.addEventListener('mouseenter', () => {
                card.style.transition = 'all 0.3s ease';
            });
        });
    </script>
</body>
</html>